/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.springtree.spectrum.visa.persistence.constant;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;

public enum ESystemProperty {
	MYSQL_DATABASE("mysql.database", "Nombre de la base de datos"),
	MYSQL_SERVER("mysql.server", "Servidor de Mysql"),
	MYSQL_USER("mysql.user","Usuario de Mysql"),
	MYSQL_PASSWORD("mysql.password", "Contrasenia de Mysql");

	private String propertyName;

	ESystemProperty(String propertyName, String label) {
		this.propertyName = propertyName;
	}
	/**
	 * @return the propertyName
	 */
	public String getPropertyName() {
		return propertyName;
	}

	public static Collection<ESystemProperty> toList(){
		List<ESystemProperty> list = Arrays.asList(ESystemProperty.values()); 
		return list;
	}
}
